package tool;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class Time {

   public String getNowTimeReturnString()
   {
	   LocalDateTime currentTime = LocalDateTime.now();

	    DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");

	    String formattedTime = currentTime.format(formatter);
	    return formattedTime;
   }

   
}
